package io.github.biezhi.elves.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.github.biezhi.elves.mapper.QccBidUrlDateMapper;
import io.github.biezhi.elves.mapper.QccBidUrlResolveMapper;
import io.github.biezhi.elves.mapper.QccBiddingMapper;
import io.github.biezhi.elves.mapper.QccMapper;
import io.github.biezhi.elves.model.CompAnnualReports;
import io.github.biezhi.elves.qcc.model.CompAnalysis;
import io.github.biezhi.elves.qcc.model.CompBasic;
import io.github.biezhi.elves.qcc.model.CompBasicInfo;
import io.github.biezhi.elves.qcc.model.CompBidUrlDate;
import io.github.biezhi.elves.qcc.model.CompBidUrlResolve;
import io.github.biezhi.elves.qcc.model.CompBidding;
import io.github.biezhi.elves.qcc.model.CompChangeRecord;
import io.github.biezhi.elves.qcc.model.CompQccCrawl;
import io.github.biezhi.elves.qcc.model.CompQuota;
import io.github.biezhi.elves.qcc.model.OutboundInvestment;
import io.github.biezhi.elves.service.QccBidUrlDateService;
import io.github.biezhi.elves.service.QccBidUrlResolveService;
import io.github.biezhi.elves.service.QccBiddingService;
import io.github.biezhi.elves.service.QccService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service("qccBidUrlResolveService")
public class QccBidUrlResolveServiceImpl implements QccBidUrlResolveService{

	@Autowired
	private QccBidUrlResolveMapper qccBidUrlResolveMapper;
	
	@Override
	public List<CompBidding> queryCompBidding(Integer num) {
		return qccBidUrlResolveMapper.queryCompBidding(num);
	}

	@Override
	public void updateCompBiddingState(Long bidId,Integer state) {
		qccBidUrlResolveMapper.updateCompBiddingState(bidId, state);
	}

	@Override
	public void insertCompBidUrlResolve(CompBidUrlResolve compBidUrlResolve) {
		qccBidUrlResolveMapper.insertCompBidUrlResolve(compBidUrlResolve);
	}

}
